(function(e){
	function f(t){e.getScript("http://"+t+".disqus.com/blogger_index.js")}
	
	function l(){if(s){return}s=true;if(!n){r.hide();return}r.find("a").hide();r.find("img").show();
	e.ajax(n,{dataType:"html"}).done(function(t){
		
		var o=e("<div></div>").append(t.replace(a,""));var u=o.find("a.blog-pager-older-link");if(u){n=u.attr("href")}else{n="";r.hide()}var l=o.find(i).children(".date-outer");e(i).append(l);if(window._gaq){window._gaq.push(["_trackPageview",n])}if(window.gapi&&window.gapi.plusone&&window.gapi.plusone.go){window.gapi.plusone.go()}if(window.disqus_shortname){f(window.disqus_shortname)}if(window.FB&&window.FB.XFBML&&window.FB.XFBML.parse){window.FB.XFBML.parse()}r.find("img").hide();r.find("a").show();s=false;
				
		$('.post-container').each(function(i,e){
			createSummaryAndThumb($(e).attr('id'),$(e).find('a:first').attr('href'));
		});
		
	})}
	
	
	function c(){if(_WidgetManager._GetAllData().blog.pageType=="item"){return}n=e("a.blog-pager-older-link").attr("href");if(!n){return}var i=e('<a class="view-more-link" href="javascript:;">Xem thêm còn nhiều lắm</a>');i.click(l);var s=e('<img class="before-loading" src="'+t+'" style="display: none;">');r=e('<div style="text-align: center; font-size: 140%;"></div>');r.append(i);r.append(s);r.insertBefore(e("#blog-pager"));e("#blog-pager").hide()}
	
	var t="http://suong.vn:8080/themes/images/preloader.gif";
	var n="";
	var r=null;
	var i="div.blog-posts";
	var s=false;
	var o=e(window);
	var u=e(document);
	var a=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi;
	e(document).ready(c)
})(jQuery)